package com.xipu.yygh.feign.service_order;

import com.xipu.yygh.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * description: 订单模块
 * @author: gql
 * @date: 2022/05
 */
@FeignClient("service-order")
@RequestMapping("/api/order/orderInfo")
public interface OrderFeignClient {
    /**
     * 获取订单统计数据
     */
    @PostMapping("/inner/getCountMap")
    Map<String, Object> getCountMap(@RequestBody OrderCountQueryVo orderCountQueryVo);
}
